home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / realtime_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  4.2 KB  |  127 lines

  1. #ifndef PRAGMAS_REALTIME_PRAGMAS_H
  2. #define PRAGMAS_REALTIME_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: realtime_pragmas.h 40.1 (17.05.01996)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_REALTIME_PROTOS_H
  31. #include <clib/realtime_protos.h>
  32. #endif /* CLIB_REALTIME_PROTOS_H */
  33.  
  34. /*--- functions in V37 or higher (Release 2.04) ---*/
  35.  
  36. /* Locks */
  37.  
  38. #ifdef __CLIB_PRAGMA_LIBCALL
  39.  #pragma libcall RealTimeBase LockRealTime 1e 001
  40. #endif /* __CLIB_PRAGMA_LIBCALL */
  41. #ifdef __CLIB_PRAGMA_AMICALL
  42.  #pragma amicall(RealTimeBase, 0x1e, LockRealTime(d0))
  43. #endif /* __CLIB_PRAGMA_AMICALL */
  44. #ifdef __CLIB_PRAGMA_LIBCALL
  45.  #pragma libcall RealTimeBase UnlockRealTime 24 801
  46. #endif /* __CLIB_PRAGMA_LIBCALL */
  47. #ifdef __CLIB_PRAGMA_AMICALL
  48.  #pragma amicall(RealTimeBase, 0x24, UnlockRealTime(a0))
  49. #endif /* __CLIB_PRAGMA_AMICALL */
  50.  
  51. /* Conductor */
  52.  
  53. #ifdef __CLIB_PRAGMA_LIBCALL
  54.  #pragma libcall RealTimeBase CreatePlayerA 2a 801
  55. #endif /* __CLIB_PRAGMA_LIBCALL */
  56. #ifdef __CLIB_PRAGMA_AMICALL
  57.  #pragma amicall(RealTimeBase, 0x2a, CreatePlayerA(a0))
  58. #endif /* __CLIB_PRAGMA_AMICALL */
  59. #ifdef __CLIB_PRAGMA_TAGCALL
  60.  #ifdef __CLIB_PRAGMA_LIBCALL
  61.   #pragma tagcall RealTimeBase CreatePlayer 2a 801
  62.  #endif /* __CLIB_PRAGMA_LIBCALL */
  63.  #ifdef __CLIB_PRAGMA_AMICALL
  64.   #pragma tagcall(RealTimeBase, 0x2a, CreatePlayer(a0))
  65.  #endif /* __CLIB_PRAGMA_AMICALL */
  66. #endif /* __CLIB_PRAGMA_TAGCALL */
  67. #ifdef __CLIB_PRAGMA_LIBCALL
  68.  #pragma libcall RealTimeBase DeletePlayer 30 801
  69. #endif /* __CLIB_PRAGMA_LIBCALL */
  70. #ifdef __CLIB_PRAGMA_AMICALL
  71.  #pragma amicall(RealTimeBase, 0x30, DeletePlayer(a0))
  72. #endif /* __CLIB_PRAGMA_AMICALL */
  73. #ifdef __CLIB_PRAGMA_LIBCALL
  74.  #pragma libcall RealTimeBase SetPlayerAttrsA 36 9802
  75. #endif /* __CLIB_PRAGMA_LIBCALL */
  76. #ifdef __CLIB_PRAGMA_AMICALL
  77.  #pragma amicall(RealTimeBase, 0x36, SetPlayerAttrsA(a0,a1))
  78. #endif /* __CLIB_PRAGMA_AMICALL */
  79. #ifdef __CLIB_PRAGMA_TAGCALL
  80.  #ifdef __CLIB_PRAGMA_LIBCALL
  81.   #pragma tagcall RealTimeBase SetPlayerAttrs 36 9802
  82.  #endif /* __CLIB_PRAGMA_LIBCALL */
  83.  #ifdef __CLIB_PRAGMA_AMICALL
  84.   #pragma tagcall(RealTimeBase, 0x36, SetPlayerAttrs(a0,a1))
  85.  #endif /* __CLIB_PRAGMA_AMICALL */
  86. #endif /* __CLIB_PRAGMA_TAGCALL */
  87. #ifdef __CLIB_PRAGMA_LIBCALL
  88.  #pragma libcall RealTimeBase SetConductorState 3c 10803
  89. #endif /* __CLIB_PRAGMA_LIBCALL */
  90. #ifdef __CLIB_PRAGMA_AMICALL
  91.  #pragma amicall(RealTimeBase, 0x3c, SetConductorState(a0,d0,d1))
  92. #endif /* __CLIB_PRAGMA_AMICALL */
  93. #ifdef __CLIB_PRAGMA_LIBCALL
  94.  #pragma libcall RealTimeBase ExternalSync 42 10803
  95. #endif /* __CLIB_PRAGMA_LIBCALL */
  96. #ifdef __CLIB_PRAGMA_AMICALL
  97.  #pragma amicall(RealTimeBase, 0x42, ExternalSync(a0,d0,d1))
  98. #endif /* __CLIB_PRAGMA_AMICALL */
  99. #ifdef __CLIB_PRAGMA_LIBCALL
  100.  #pragma libcall RealTimeBase NextConductor 48 801
  101. #endif /* __CLIB_PRAGMA_LIBCALL */
  102. #ifdef __CLIB_PRAGMA_AMICALL
  103.  #pragma amicall(RealTimeBase, 0x48, NextConductor(a0))
  104. #endif /* __CLIB_PRAGMA_AMICALL */
  105. #ifdef __CLIB_PRAGMA_LIBCALL
  106.  #pragma libcall RealTimeBase FindConductor 4e 801
  107. #endif /* __CLIB_PRAGMA_LIBCALL */
  108. #ifdef __CLIB_PRAGMA_AMICALL
  109.  #pragma amicall(RealTimeBase, 0x4e, FindConductor(a0))
  110. #endif /* __CLIB_PRAGMA_AMICALL */
  111. #ifdef __CLIB_PRAGMA_LIBCALL
  112.  #pragma libcall RealTimeBase GetPlayerAttrsA 54 9802
  113. #endif /* __CLIB_PRAGMA_LIBCALL */
  114. #ifdef __CLIB_PRAGMA_AMICALL
  115.  #pragma amicall(RealTimeBase, 0x54, GetPlayerAttrsA(a0,a1))
  116. #endif /* __CLIB_PRAGMA_AMICALL */
  117. #ifdef __CLIB_PRAGMA_TAGCALL
  118.  #ifdef __CLIB_PRAGMA_LIBCALL
  119.   #pragma tagcall RealTimeBase GetPlayerAttrs 54 9802
  120.  #endif /* __CLIB_PRAGMA_LIBCALL */
  121.  #ifdef __CLIB_PRAGMA_AMICALL
  122.   #pragma tagcall(RealTimeBase, 0x54, GetPlayerAttrs(a0,a1))
  123.  #endif /* __CLIB_PRAGMA_AMICALL */
  124. #endif /* __CLIB_PRAGMA_TAGCALL */
  125.  
  126. #endif /* PRAGMAS_REALTIME_PRAGMAS_H */
  127.